package com.xydtech.ecard.busi.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 电子名片封装业务填报记录返回对象
 *
 * @author yuzhiguo
 * @date 2024-09-29 上午11:11
 */
public class EcardApiBusiReprotRecord extends BaseEntity
{
    /** 业务id */
    private Long id;

    /** 业务配置主键id */
    private String configId;

    /** 业务唯一标识 */
    @Excel(name = "业务唯一标识")
    private String busiCode;

    /** 业务名称 */
    @Excel(name = "业务名称")
    private String busiName;

    /** 企业名称 */
    @Excel(name = "企业名称")
    private String entName;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String custName;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String custPhone;

    /** 业务填报分类，1, 个人类，2：绑卡类，3：对公类，4：其他业务 */
    @Excel(name = "业务填报分类，1, 个人类，2：绑卡类，3：对公类，4：其他业务")
    private Integer busiType;

    /** 业务笔数 */
    @Excel(name = "业务笔数")
    private Integer busiNums;

    /** 积分数 */
    @Excel(name = "积分数")
    private BigDecimal integralNums;

    /** 归属机构 */
    @Excel(name = "归属机构")
    private Long deptId;

    /** 管户人id */
    @Excel(name = "管户人id")
    private Long managementPersonnelId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getConfigId() {
        return configId;
    }

    public void setConfigId(String configId) {
        this.configId = configId;
    }

    public String getBusiCode() {
        return busiCode;
    }

    public void setBusiCode(String busiCode) {
        this.busiCode = busiCode;
    }

    public String getBusiName() {
        return busiName;
    }

    public void setBusiName(String busiName) {
        this.busiName = busiName;
    }

    public String getEntName() {
        return entName;
    }

    public void setEntName(String entName) {
        this.entName = entName;
    }

    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }

    public String getCustPhone() {
        return custPhone;
    }

    public void setCustPhone(String custPhone) {
        this.custPhone = custPhone;
    }

    public Integer getBusiType() {
        return busiType;
    }

    public void setBusiType(Integer busiType) {
        this.busiType = busiType;
    }

    public Integer getBusiNums() {
        return busiNums;
    }

    public void setBusiNums(Integer busiNums) {
        this.busiNums = busiNums;
    }

    public BigDecimal getIntegralNums() {
        return integralNums;
    }

    public void setIntegralNums(BigDecimal integralNums) {
        this.integralNums = integralNums;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getManagementPersonnelId() {
        return managementPersonnelId;
    }

    public void setManagementPersonnelId(Long managementPersonnelId) {
        this.managementPersonnelId = managementPersonnelId;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    @Override
    public String toString() {
        return "EcardApiBusiReprotRecord{" +
                "id='" + id + '\'' +
                ", busiCode='" + busiCode + '\'' +
                ", configId='" + configId + '\'' +
                ", busiName='" + busiName + '\'' +
                ", entName='" + entName + '\'' +
                ", custName='" + custName + '\'' +
                ", custPhone='" + custPhone + '\'' +
                ", busiType=" + busiType +
                ", busiNums=" + busiNums +
                ", integralNums=" + integralNums +
                ", deptId=" + deptId +
                ", managementPersonnelId=" + managementPersonnelId +
                ", creationTime=" + creationTime +
                '}';
    }
}
